package com.chehejia.saos.resubmitredis.config;

/**
 * key生成策略
 *
 * @author wangyongkun
 * @create 2021/3/26
 */
public enum KeyGeneratorEnum {
    H("H", "请求URL+方法名+参数"),
    M("M", "方法名+参数"),
    L("L", "参数"),
    ;


    private String flag;

    private String name;

    KeyGeneratorEnum(String flag, String name) {
        this.flag = flag;
        this.name = name;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
